package main

import (
	"fmt"
	"runtime"
	"time"
)

func main() {
	i := 3

	go func(a int) {
		fmt.Println(a)
		fmt.Println(1)
	}(i)
	fmt.Println(2)
	fmt.Println(time.Second)
	time.Sleep(1 * time.Second)

	num := runtime.NumCPU()
	fmt.Println(num)
	runtime.GOMAXPROCS(num)

}
